package com.fyzk.activity.prize.item;

import android.text.Spanned;

import com.tyjc.lottery.R;

/**
 * 彩种开奖信息
 * 
 * @author miao
 * 
 */
public abstract class PrizeItemBase implements PrizeNumFormatInterface {
	
	public static String COLOR_BLUE = "#f8901d";
	public static String COLOR_RED = "red";

	public static int ballLeftMargin = 15;

	private String peroid;
	private String date;
	private String prizeNum;
	protected int lotteryId = -1;

	/**
	 * 得到开奖号码的Spanned（html） 格式用于显示
	 * 
	 * @return
	 */
	public Spanned formatPrizeNumSpanned() {
		return null;
	};

	/**
	 * 得到彩种名称的资源id
	 * 
	 * @return
	 */
	public abstract String getLotteryName();

	/**
	 * 得到彩种Logo的资源ID
	 * 
	 * @return
	 */
	public  int getLogoResID(){
		return R.drawable.main_3d;
	};

	public String getPrizeNum() {
		return prizeNum;
	}

	public void setPrizeNum(String prizeNum) {
		this.prizeNum = prizeNum;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getPeroid() {
		return peroid;
	}

	public void setPeroid(String peroid) {
		this.peroid = peroid;
	}

}
